#set(String masterMenu = "2")
#tag layout_block("container")
	<div id="repast-todo" v-cloak class="row">
		<div class="col-xs-12 alert alert-warning text-center" role="alert">
			这块操作真正传菜后点击处理，因为处理后信息将不存在于列表中且就餐菜单也无法做退菜处理。
		</div>
		<button class="col-xs-12 btn btn-default" @click="handleContent">
			<i class="glyphicon glyphicon-repeat" style="cursor: pointer;"></i>&nbsp;刷新
		</button>
		<div class="col-xs-12">
			<table class="table table-hover custom-table">
				<thead>
					<tr>
						<th>序号</th>
						<th>下单时间</th>
						<th>名称</th>
						<th>数量</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<tr v-for="item in content">
						<td>{{$index+1}}</td>
						<td>{{item.created | moment-ts}}</td>
						<td>{{item.name}}</td>
						<td>{{item.num}}</td>
						<td>
							<button type="button" class="btn btn-xs btn-primary" @click="complateMenu(item)">已传菜</button>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<script type="text/javascript" src="assets/js/biz/repast/todo.js"></script>
#end
#include ("/layout/default.html")